<template>
  <div class="order-container">
    <div class="qr-section">
      <h2 class="title">扫码进入小程序</h2>
      <div class="qr-wrapper">
        <img src="/images/wxqr.png" alt="小程序二维码" class="qr-code" />
      </div>
      <p class="description">使用微信扫一扫，快速进入小程序</p>
    </div>
  </div>
</template>

<style scoped>
.order-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0px;
}

.qr-section {
  background: rgba(84, 100, 117, 0.344);;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.title {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 0;
}

.qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.qr-code {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
}

.description {
  color: #fff;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .qr-section {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .title {
    font-size: 20px;
  }
  
  .qr-code {
    width: 160px;
    height: 160px;
  }
  
  .description {
    font-size: 14px;
  }
}
</style>
